Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
Loading...
Searching...
No Matches
AuthManager.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2010 Raritan Inc. All rights reserved.
4 */
5
6/** Local and Remote Authentication Management */
7module auth {
8
9 /** Authentication type */
10 enumeration Type {
11 LOCAL, ///< local authentication
12 RADIUS, ///< authentication via radius server
13 KERBEROS, ///< authentication with kerberos tickets (not implemented)
14 TACACS_PLUS, ///< authentication via TACACS+ (not implemented)
15 LDAP, ///< authentication via LDAP server
16 CC, ///< cc authentication
17 OIDC ///< authentication via OIDC Identity Provider
18 };
19
20 /**
21 * Authentication policy
22 *
23 * The authentication policy does only partly apply to SNMPv3 as it always uses local authentication.
24 * When SNMPv3 is enabled, all local user accounts for which SNMPv3 access is configured will be
25 * available via SNMPv3 except the account has admin privilege and disallowLocalAuthAdminRemoteAccess
26 * is set to true.
27 */
28 structure Policy {
29 auth.Type type; ///< Authentication type
30 boolean disallowLocalAuthAdminRemoteAccess; ///< Disallow remote access for locally authenticated administrators
31 boolean useLocalIfRemoteFailed; ///< Fall back to local authentication if remote authentication fails (deprecated; recommended setting: false)
32 };
33
34 /** Authentication manager interface */
35 interface AuthManager {
36
37 constant int ERR_UNSUPPORTED_TYPE = 1; ///< Unsupported authentication type
38
39 /**
40 * Gets a policy.
41 *
42 * @return a Policy object
43 */
45
46 /**
47 * Sets a policy.
48 *
49 * @return 0 on success
50 * @return 1 in case authentication type is not supported
51 */
52 int setPolicy(in Policy p);
53
54 };
55
56}
Authentication manager interface.
Policy getPolicy()
Gets a policy.
constant int ERR_UNSUPPORTED_TYPE
Unsupported authentication type.
int setPolicy(in Policy p)
Sets a policy.
Local and Remote Authentication Management.
Type
Authentication type.
@ KERBEROS
authentication with kerberos tickets (not implemented)
@ TACACS_PLUS
authentication via TACACS+ (not implemented)
@ RADIUS
authentication via radius server
@ LOCAL
local authentication
@ LDAP
authentication via LDAP server
@ OIDC
authentication via OIDC Identity Provider
@ CC
cc authentication
Authentication policy.
auth::Type type
Authentication type.
boolean useLocalIfRemoteFailed
Fall back to local authentication if remote authentication fails (deprecated; recommended setting: fa...
boolean disallowLocalAuthAdminRemoteAccess
Disallow remote access for locally authenticated administrators.